package com.cloudkinto.vo.wr.trial;

import com.cloudkinto.common.utils.dict.StaticDict;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class TrialOmsReq {
    @ApiModelProperty("地址类型 0住宅 1商业, 可以不传")
    private int addrType;
    @ApiModelProperty("是否开启保险费")
    private boolean insureFlag;
    @ApiModelProperty("保险金额")
    private Double insureMoney;
    @ApiModelProperty("签名服务类型 650 直接 750间接 850成人")
    private Integer signatureType;
    @ApiModelProperty("客户")
    private Long companyId;
    @ApiModelProperty("是否开启下单限制 0 不开启 1开启")
    private int orderLimit;
    @ApiModelProperty("省/周")
    private String provinceCode;
    @ApiModelProperty("城市名称")
    private String cityName;
    @ApiModelProperty(value = "发货仓", required = true)
    private Long warehouseId;
    @ApiModelProperty(value = "到货国家/地区", required = true)
    private String countryCode;
    @ApiModelProperty(value = "到货邮编", required = true)
    private String postcode;
    @ApiModelProperty("选择的sku")
    private List<TrialProductReq> products;
    @ApiModelProperty("出库的箱子")
    private List<TrialBoxReq> boxes = new ArrayList<>();
    @ApiModelProperty("选择的物流渠道")
    private List<LcCodeRes> lc;
    @ApiModelProperty("1 手动输入 2选择SKU 3 箱库存")
    private Integer goodsType;
    @ApiModelProperty("单位 公制 cm 英制 in   OMP_UnitMeasurement")
    //todo 取oms计量单位
    private String sizeUnit = StaticDict.OMP_UnitMeasurement.Cm.getValue();

    @ApiModelProperty("0 否 1是 自动选取最便宜的物流方式")
    private int autoChooseCheap;

    private String platformCode;
}
